<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@ taglib uri="http://www.springframework.org/tags" prefix="s"%>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@ page session="false"%>
<html>
<head>
<title>Add/Edit Record</title>
</head>
<body>
	<form:form commandName="person" action="/lovergreen/save" method="post">
		<form:errors path="*"  />
		<table>
			<tr>
				<td><label>Email: </label></td>
				<td>
					<form:hidden path="active" />
					<form:hidden path="confirmkey" />
					<form:input path="email" autocomplete="true" />
				</td>
			</tr>
			<tr>
				<td><label>Password: </label></td>
				<td><form:input path="password" autocomplete="true" /></td>
			</tr>
			<tr>
				<td><label>First Name : </label></td>
				<td><form:input path="firstname" autocomplete="true" /></td>
			</tr>
			<tr>
				<td><label>Last Name : </label></td>
				<td><form:input path="lastname" autocomplete="true" /></td>
			</tr>
			<tr>
				<td><label>Cellphone: </label></td>
				<td><form:input path="cellphone" autocomplete="true" /></td>
			</tr>
			<tr>
				<td colspan="2"><input type="submit" value="Save" /></td>
			</tr>
		</table>
	</form:form>

</body>
</html>